package com.vol.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (sys_roleauth)实体类
 *
 * @author kancy
 * @since 2024-08-23 11:23:31
 * @description 由 Mybatisplus Code Generator 创建
 */

@Accessors(chain = true)
@TableName("sys_roleauth")
public class SysRoleauth extends Model<SysRoleauth> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * authId
     */
    @TableId(type = IdType.AUTO)
	private Integer authId;
    /**
     * authvalue
     */
    private String authvalue;
    /**
     * createdate
     */
    private Date createdate;
    /**
     * creator
     */
    private String creator;
    /**
     * menuId
     */
    private Integer menuId;
    /**
     * modifier
     */
    private String modifier;
    /**
     * modifydate
     */
    private Date modifydate;
    /**
     * roleId
     */
    private Integer roleId;
    /**
     * userId
     */
    private Integer userId;

    private String url;


    //setter

    public void setUrl(String url) {
        this.url = url;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }

    public void setAuthvalue(String authvalue) {
        this.authvalue = authvalue;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    //getter
    @JsonProperty("Auth_Id")
    public Integer getAuthId() {
        return authId;
    }
    @JsonProperty("AuthValue")
    public String getAuthvalue() {
        return authvalue;
    }
    @JsonProperty("CreateDate")
    public Date getCreatedate() {
        return createdate;
    }
    @JsonProperty("Creator")
    public String getCreator() {
        return creator;
    }
    @JsonProperty("Menu_Id")
    public Integer getMenuId() {
        return menuId;
    }
    @JsonProperty("Modifier")
    public String getModifier() {
        return modifier;
    }
    @JsonProperty("ModifyDate")
    public Date getModifydate() {
        return modifydate;
    }
    @JsonProperty("Role_Id")
    public Integer getRoleId() {
        return roleId;
    }
    @JsonProperty("User_Id")
    public Integer getUserId() {
        return userId;
    }
    @JsonProperty("Url")
    public String getUrl() {
        return url;
    }
}